home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 August: Tool Chest / Dev.CD Aug 00 TC Disk 1.toast / pc / sample code / contributed / spriteworld / examples / simple / simple.h < prev   
Encoding:
Text File  |  2000-06-23  |  697 b   |  39 lines

  1. ///--------------------------------------------------------------------------------------
  2. // Simple.h
  3. //
  4. // By: Tony Myles
  5. //
  6. // Copyright © 1993 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __SIMPLE__
  11. #define __SIMPLE__
  12.  
  13. #ifndef __WINDOWS__
  14. #include <Windows.h>
  15. #endif
  16.  
  17. enum
  18. {
  19.     kSpriteCIconResID = 128,
  20.     kNumberOfSpriteFrames = 1,
  21.     kNumberOfSprites = 6,
  22.     kSpriteMoveTime = 10,
  23.     kHorizMoveDelta = 16,
  24.     kVertMoveDelta = 16,
  25.     kPixPatResID = 128
  26. };
  27.  
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31.  
  32. void PerformSimpleAnimation(CWindowPtr srcWindowP);
  33.  
  34. #ifdef __cplusplus
  35. };
  36. #endif
  37.  
  38.  
  39. #endif /* __APPLICATION__ */